Currently I am using the API methods to create a bunch of objects. I have created users, teams and linked them together, escalation policy and linked it to the team, service and linked it to the team, and a schedule and linked to team.
However, when going onto the schdule view, you can still add the escalation policy to it, but how can this be achieved in the API call?
I have tried the below, trying escalation_policy_reference as well, and under both the escalation body, and the restrictions body
“targets”: [
{
“type”: “escalation_policy”,
“id”: “{escal ID}”
}
Is it possible to create a link as such in the API call?